home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / share / software-center / softwarecenter / enums.py < prev    next >
Text File  |  2009-10-23  |  2KB  |  51 lines

  1. # Copyright (C) 2009 Canonical
  2. #
  3. # Authors:
  4. #  Michael Vogt
  5. #
  6. # This program is free software; you can redistribute it and/or modify it under
  7. # the terms of the GNU General Public License as published by the Free Software
  8. # Foundation; version 3.
  9. #
  10. # This program is distributed in the hope that it will be useful, but WITHOUT
  11. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  12. # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
  13. # details.
  14. #
  15. # You should have received a copy of the GNU General Public License along with
  16. # this program; if not, write to the Free Software Foundation, Inc.,
  17. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  18.  
  19.  
  20. # system pathes
  21. XAPIAN_BASE_PATH = "/var/cache/software-center"
  22. APP_INSTALL_PATH = "/usr/share/app-install"
  23. APP_INSTALL_DESKTOP_PATH = APP_INSTALL_PATH+"/desktop/"
  24. APP_INSTALL_CHANNELS_PATH = APP_INSTALL_PATH+"/channels/"
  25. ICON_PATH = APP_INSTALL_PATH+"/icons/"
  26. SOFTWARE_CENTER_ICON_PATH = "/usr/share/software-center/icons"
  27.  
  28. # icon
  29. MISSING_APP_ICON = "applications-other"
  30.  
  31.  
  32. # values used in the database
  33. XAPIAN_VALUE_APPNAME = 170
  34. XAPIAN_VALUE_PKGNAME = 171
  35. XAPIAN_VALUE_ICON = 172
  36. XAPIAN_VALUE_GETTEXT_DOMAIN = 173
  37. XAPIAN_VALUE_ARCHIVE_SECTION = 174
  38. XAPIAN_VALUE_ARCHIVE_ARCH = 175
  39. XAPIAN_VALUE_POPCON = 176
  40. XAPIAN_VALUE_SUMMARY = 177
  41. XAPIAN_VALUE_ARCHIVE_CHANNEL = 178
  42. XAPIAN_VALUE_DESKTOP_FILE = 179
  43.  
  44.  
  45. from version import *
  46. USER_AGENT="Software Center/%s (N;) %s/%s (%s)" % (VERSION, 
  47.                                                    DISTRO, 
  48.                                                    RELEASE,
  49.                                                    CODENAME)
  50.  
  51.